package com.wms.mapper;

import com.wms.pojo.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {

    List<Category> queryAll();

    Boolean addCategory(Category category);

    Boolean deleteCategory(Integer id);

    Boolean updateCategory(Category category);

    Category queryById(Integer id);
}
